package com.manager.devicemanager.common;

import lombok.Getter;

@Getter
public enum ICComponentPriority {
    // 这个顺序不要改动 影响优先级
    LATCH("闩锁", 6),
    BRAM_FLIP("BRAM翻转", 9),
    CRAM_FLIP("CRAM翻转", 10),
    NORMAL("正常", 0);

    private final String description;
    private final int code;

    ICComponentPriority(String description, int code) {
        this.description = description;
        this.code = code;
    }


    public String getDescription() {
        return description;
    }

    public int getCode() {
        return code;
    }
}